<template>
  <div>
    <el-button type="primary" @click="goToStoreManagement">门店管理</el-button>
    <el-button type="primary" @click="goToOrderManagement">订单管理</el-button>
  </div>
</template>

<script>
import router from "@/router";

export default {
  methods: {
    goToStoreManagement() {
      router.push({
        path: '/shopList'
      })
    },
    goToOrderManagement() {
      router.push({
        path: '/businessOrders'
      })
    }
  }
}
</script>

<style scoped>
/* 设置按钮的宽度和高度 */
el-button {
  width: 200px;
  height: 50px;
}
/* 设置按钮的背景颜色 */
el-button.primary {
  background-color: #42b983;
}
/* 设置按钮的字体颜色 */
el-button.primary {
  color: #ffffff;
}
</style>
